﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdminPassWD.ascx.cs" Inherits="webUserControl_AdminPassWD" %>
<div class="code">
<table style="width:100%; line-height:25px;">
    <tr>
        <td style="text-align:right; width:120px;">原始密码：</td>
        <td>
            <asp:TextBox ID="tbPassWD" runat="server" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbPassWD" ErrorMessage="×" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; width:120px;">新密码：</td>
        <td>
            <asp:TextBox ID="tbPassWD1" runat="server" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="tbPassWD1" ErrorMessage="×" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; width:120px;">重复新密码：</td>
        <td>
            <asp:TextBox ID="tbPassWD2" runat="server" TextMode="Password"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="tbPassWD1" ControlToValidate="tbPassWD2" 
                ErrorMessage="两次输入密码不一致" ValidationGroup="A"></asp:CompareValidator>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; width:120px;">&nbsp;</td>
        <td>
            <asp:Button ID="btnSub" runat="server" onclick="btnSub_Click" Text="重置密码" 
                ValidationGroup="A" />
            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </td>
    </tr>
</table>
</div>